package org.dwpd.mapper.message;

import org.apache.ibatis.annotations.Mapper;
import org.dwpd.domain.message.Comment;

import java.util.List;

@Mapper
public interface CommentMapper {
    void insertComment(Comment comment);

    List<Comment> selectAllComment(Integer messageId);

    Integer deleteComment(Integer commentId);

    Integer getCommentUserId(Integer commentId);
}
